home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 9
/
Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO
/
009a
/
snpd0493.zip
/
PERMUTE1.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-04-05
|
285b
|
13 lines
.I 0 2
#include<stdio.h>
#include<stdlib.h>
.D 1 1
.I 74 3
for ( i = ++pos[j]; str[i] && ! counts[i]; i++)
;
if (0 != (curr[j] = str[i])) /* found a char */
.D 75 2
.I 106 1
while (NULL != (str = chouse_n(NULL, i)))
.D 107 1